package com.hdax.dm.dto;

public class DtoUtil<T> {

    public static<T> CommonResponse returnSuccess(T data){
        return new CommonResponse(data);
    }

    public static CommonResponse returnFail(String errCode,String errMsg){
        return new CommonResponse(errCode,errMsg);
    }
}
